package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {
    int insert(Customer record);

    int updateByPrimaryKey(Customer record);

    List<Customer> queryForList(QueryObject qo);

    void updateStatus(@Param("cid") Long cid,@Param("status") int status);
}